package com.quanquan.user.service.autoCompute.repository;

import com.quanquan.user.service.autoCompute.entity.GroupLabelRelation;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface GroupLabelRelationRepository extends CrudRepository<GroupLabelRelation, String> {

    List<GroupLabelRelation> findByGroupId(String groupId);

    void deleteAllByGroupIdAndLabelIdIsIn(String groupId, Iterable<String> ids);

}
